package com.jcl.recruit.corp.vo;

import com.jcl.core.utils.DateUtils;

import java.util.Date;

/**
 * @ClassName CorpVo

 * @Author yyliu
 * @Date 2018/12/7 9:06
 * @Version 1.0
 **/
public class CorpVo {

    private Integer id;

    private String  fullname;

    private String  shortname;

    private String  email;

    private String  telephone;

    private Integer  comSize;

    private Integer  comNature;

    private String  industry;

    private String  address;

    private String addUserName;

    private String addUserPostName;

    private Date abateDate;

    private Date registerDate;

    private String abateDateStr;

    private String registerDateStr;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Integer getComSize() {
        return comSize;
    }

    public void setComSize(Integer comSize) {
        this.comSize = comSize;
    }

    public Integer getComNature() {
        return comNature;
    }

    public void setComNature(Integer comNature) {
        this.comNature = comNature;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddUserName() {
        return addUserName;
    }

    public void setAddUserName(String addUserName) {
        this.addUserName = addUserName;
    }

    public String getAddUserPostName() {
        return addUserPostName;
    }

    public void setAddUserPostName(String addUserPostName) {
        this.addUserPostName = addUserPostName;
    }

    public Date getAbateDate() {
        return abateDate;
    }

    public void setAbateDate(Date abateDate) {
        this.abateDate = abateDate;
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public String getAbateDateStr() {
        if(null != abateDate){
            abateDateStr = DateUtils.format(abateDate, DateUtils.DATE_FORMAT_YMD);
        }
        return abateDateStr;
    }


    public String getRegisterDateStr() {
        if(null != registerDate){
            registerDateStr = DateUtils.format(registerDate, DateUtils.DATE_FORMAT_YMD);
        }
        return registerDateStr;
    }


}
